package com.mm.mapper;

import com.mm.bo.DepartmentSearchBo;
import com.mm.my.mapper.MyMapper;
import com.mm.pojo.DepartmentInfo;
import com.mm.vo.DepastaffVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentInfoMapper extends MyMapper<DepartmentInfo> {

    /**
     * 部门管理查询筛选的总数
     *
     * @param departmentSearchBo
     * @return
     */
    Integer findDepartmentListCount(DepartmentSearchBo departmentSearchBo);

    /**
     * 查询部门管理筛选列表
     *
     * @param departmentSearchBo
     * @return
     */
    List<DepastaffVo> findDepartmentList(DepartmentSearchBo departmentSearchBo);

}